TryTakeFromAny Method

Task Parallel System.Threading

Overload List

  NameDescription
TryTakeFromAny(array<BlockingCollection<(Of <(T>)>)>[]()[], T%)
Attempts to remove an item from any one of the specified BlockingCollection<(Of <(T>)>) instances.
TryTakeFromAny(array<BlockingCollection<(Of <(T>)>)>[]()[], T%, Int32)
Attempts to remove an item from any one of the specified BlockingCollection<(Of <(T>)>) instances.
TryTakeFromAny(array<BlockingCollection<(Of <(T>)>)>[]()[], T%, TimeSpan)
Attempts to remove an item from any one of the specified BlockingCollection<(Of <(T>)>) instances.
TryTakeFromAny(array<BlockingCollection<(Of <(T>)>)>[]()[], T%, Int32, CancellationToken)
Attempts to remove an item from any one of the specified BlockingCollection<(Of <(T>)>) instances. A OperationCanceledException is thrown if the CancellationToken is canceled.

See Also